package com.warm.middle.websocket;

/**
 * @Date: 2019/11/25 11:53
 * @Author: LChuang
 * @Description:
 */
public class WSMsg {
    /**
     * chat type: 0 - 群聊 1 - 单聊
     */
    private Integer type;

    private String fromUser;

    /**
     * 接受者: session.getId();
     */
    private String toUser;

    private String msg;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
